#pragma once
#include "ckCheckProjectManager.h"

namespace ck
{
	class CheckProjectManagerAccess :
		public CheckProjectManager
	{
	public:
		CheckProjectManagerAccess();
		virtual ~CheckProjectManagerAccess();

	protected:
		virtual void	BuildInsertProjectSQL(char* szSQL, size_t nSize, const char* szName);
		virtual void	BuildGetProjectCodeSQL(char* szSQL, size_t nSize, const char* szName);
		virtual void	BuildSetProjectCaseSQL(char* szSQL, size_t nSize, z_uint32 nProjCode, z_uint32 nCaseCode);
	
		virtual void	BuildGetProjectsSQL(char* szSQL, size_t nSize);
		virtual void	BuildGetProjectSQL(char* szSQL, size_t nSize, const char* szName);
		virtual void	BuildGetProjectSQL(char* szSQL, size_t nSize, z_uint32 nCode);

		virtual void	BuildDeleteDatasetSQL(char* szSQL, size_t nSize, z_uint32 nProjCode);
		virtual void	BuildDeleteDataSourceSQL(char* szSQL, size_t nSize, z_uint32 nProjCode);
		virtual void	BuildDeleteCaseSQL(char* szSQL, size_t nSize, z_uint32 nProjCode);
		virtual void	BuildDeleteProjectSQL(char* szSQL, size_t nSize, z_uint32 nProjCode);
	};

}
